package com.example.controller;


import com.example.entity.Qiyoubi;
import com.example.service.QiyoubiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * (Qiyoubi)表控制层
 *
 * @author makejava
 * @since 2025-07-19 21:32:13
 */
@Controller
public class QiyoubiController {
    /**
     * 服务对象
     */
    @Autowired
    private QiyoubiService qiyoubiService;

    @RequestMapping("/getqiyoubiList")
    @ResponseBody
    public List<Qiyoubi> selectAll() {
        return  qiyoubiService.list();
    }

}

